package com.sf.fy.uav.common.response.order;

import com.sf.fy.uav.common.response.shopping.CommodityResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 01430312
 */
@Data
public class CheckOrderResponse {

    @ApiModelProperty("配送方式")
    private Byte deliveryMethod;

    @ApiModelProperty("配送时间，单位分钟")
    private BigDecimal deliveryTime;


    @ApiModelProperty("配送费")
    private String expressFee;

    @ApiModelProperty("商品总金额")
    private String price;

    @ApiModelProperty("总价=商品总金额+配送费")
    private String totalPrice;

    @ApiModelProperty("购买商品数量")
    private Integer num;

    @ApiModelProperty("投放点id，用于校验快递费是否发生变动")
    private String placementPointId;

    @ApiModelProperty("投放点名称")
    private String placementPointName;

    @ApiModelProperty("是否超距，用户当前位置距离投放点是否过远")
    private Boolean isOverhang;

    @ApiModelProperty("商品列表")
    private List<CommodityResponse> commodityResponses;
}
